package com.A1908.dao;

import com.A1908.entity.MyAdmin;
import com.A1908.entity.User;
/*
@name:
@description:
@author: lzy
@title: 天王盖地虎!!!
@time:  2021-03-25 10:02:21
*/
public interface UserDao {
    User findUser(User user);//查找用户（用户登录）

    MyAdmin findAdmin(MyAdmin myAdmin);

    User getUserById(int id);//获取用户根据id

    int addUser(User user);//添加用户

    int editUser(User user);//编辑用户

    int deleteUser(User user);//删除用户
}
